public class Main
{
	public static void main(String[] args)
	{
		String[] B = { "John", "Adams", "Skrien", "Smith", "Jones"};
		Comparator stringcomp = new StringComparator();
		Sorter.sort(B, stringcomp);


		for(int i=0; i<B.length; i++)
		{
			System.out.println(B[i]);
		}

		Integer[] C = { new Integer(3), new Integer(4), new Integer(2), new Integer(1)};
		Comparator integercomp = new IntegerComparator();
		Sorter.sort(C, integercomp);
                for(int i=0; i<C.length; i++)
                {
                        System.out.println(C[i].toString());
                }

	}
}
